<div  class="panel">
	<div style="background:white" class="panel-title"><?=$itemnowname?> <a onclick="wweewewewew()" href="javascript:;" style="float:right">更多&gt;&gt;</a></div>
	<div><table border=0 width="100%"><tr id="tjlogin_lista"></tr></table></div>
 </div>
 
<script>
function wweewewewew(){
	ind.clickmenu(0,-1)
}
homeobject.worc_showdata=function(arr){
	var da = arr.rows;
	for(var i=0;i<da.length;i++){
		createchart(da[i]);
	}
}

function createchart(arr){
	var sid = 'abc'+js.getrand()+'';
	$('#tjlogin_lista').append('<td align="left"><div id="'+sid+'" style="height:250px;width:300px"></div></td>');
	
	var myChartworcs = echarts.init(get(sid));
	var option = {
		tooltip: {
			trigger: 'item',
			formatter: "{b}: {d}%"
		},
		title: {
			text: arr[0].biaoti,
			left: 'center'
		},
		/*
		legend: {
			orient: 'vertical',
			x: 'right',
			data:arr.data
		},*/
		series: [
			{
				label: {
					show: false,
					position: 'center'
				},
				labelLine: {
					show: false
				},
				type:'pie',
				radius: ['40%', '70%'],
				avoidLabelOverlap: false,
				itemStyle:{
					normal:{
						color:function(params){
							return params.data.color;
						}
					}
				},
				data:arr
			}
		]
	};
	myChartworcs.setOption(option);
}

</script>
